using System;

namespace DSharpPlus.EventArgs;

/// <summary>
/// Represents arguments for the ClientErrored event.
/// </summary>
public class ClientErrorEventArgs : DiscordEventArgs
{
    /// <summary>
    /// Gets the exception thrown by the client.
    /// </summary>
    public Exception Exception { get; internal set; }

    /// <summary>
    /// Gets the name of the event that threw the exception.
    /// </summary>
    public string EventName { get; internal set; }

    internal ClientErrorEventArgs() : base() { }
}
